import request from '@/utils/request'

// 查询案卷管理审核后列表
export function listAfanjuan(query) {
  return request({
    url: '/system/afanjuan/list',
    method: 'get',
    params: query
  })
}

// 查询案卷管理审核后详细
export function getAfanjuan(id) {
  return request({
    url: '/system/afanjuan/' + id,
    method: 'get'
  })
}

// 新增案卷管理审核后
export function addAfanjuan(data) {
  return request({
    url: '/system/afanjuan',
    method: 'post',
    data: data
  })
}

// 获取案卷注释信息
export function getAfanjuanComment() {
  return request({
    url: '/system/afanjuan/getAfanjuanComment',
    method: 'post'
  })
}

// 修改案卷管理审核后
export function updateAfanjuan(data) {
  return request({
    url: '/system/afanjuan',
    method: 'put',
    data: data
  })
}

// 删除案卷管理审核后
export function delAfanjuan(id) {
  return request({
    url: '/system/afanjuan/' + id,
    method: 'delete'
  })
}
